package com.epin.business.commons.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.epin.business.commons.dao.LoginInfoMapper;
import com.epin.business.commons.entity.LoginInfo;
import com.epin.business.commons.service.LoginInfoService;

/**
 * <p>
 *   服务实现类
 * </p>
 *
 * @author xj
 * @since 2017-01-04
 */
@Service
public class LoginInfoServiceImpl extends ServiceImpl<LoginInfoMapper, LoginInfo> implements LoginInfoService {
	
	@Autowired
	private LoginInfoMapper loginInfoMapper;
	
	@Override
	public Page<LoginInfo> selectToShowPage(Page<LoginInfo> page, Map<String, Object> parameter) {
		page.setRecords(loginInfoMapper.selectLoginInfoList(page, parameter));
		return page;
	}
}
